<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
    <base href="<%=basePath%>">

    <title>信息栏</title>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/theme.css">

</head>
<body class="content1">
<div class="container-fluid">
    <div class="row-fluid">

        <div class="well">
            <table class="table">
                <tbody>

                    <tr>
                        <td align="center">
                                ${info.name}
                        </td>
                        <td align="right">
                                发布日期：${info.date}
                        </td>

                    </tr>
                </tbody>
            </table>
            <div>
                ${info.content}
            </div>
            <c:forEach items="${info.imageUrlList}" var="imgUrl" varStatus="varStatus">
            <div>
                <img src="<%=basePath%>${imgUrl}" width="100%" height="100%"/>
            </div>
            </c:forEach>
        </div>
    </div>
</div>
</body>
</html>
